package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电影按区域划分对象 ticket_movie_area_type
 * 
 * @author ruoyi
 * @date 2022-01-10
 */
public class TicketMovieAreaType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 区域名 */
    @Excel(name = "区域名")
    private String areaName;

    /** 区域关键字 */
    @Excel(name = "区域关键字")
    private String areaKey;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setAreaKey(String areaKey) 
    {
        this.areaKey = areaKey;
    }

    public String getAreaKey() 
    {
        return areaKey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaName", getAreaName())
            .append("areaKey", getAreaKey())
            .toString();
    }
}
